<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <style>
        .one {
            width: 500px;
            height: 20px;
            background-color: skyblue;
            border-radius: 10px;
            margin-top: 20px;
        }
    </style>
</head>

<body>
    <div id="app">
        <div v-for="item in student" class="one">{{item.studentname}}</div>
    </div>
    <script>
        Vue.createApp({
            data() {
                return {
                    student:
                        [
                            {
                                studentID: 1,
                                studentname: "张三",
                                garde: 90,
                            },
                            {
                                studentID: 2,
                                studentname: "李四",
                                garde: 78,
                            },
                            {
                                studentID: 3,
                                studentname: "王五",
                                garde: 90,
                            },
                            {
                                studentID: 4,
                                studentname: "赵六",
                                garde: 90,
                            },
                            {
                                studentID: 5,
                                studentname: "张一一",
                                garde: 90,
                            },
                            {
                                studentID: 6,
                                studentname: "刘七",
                                garde: 90,
                            },
                            {
                                studentID: 7,
                                studentname: "洋洋",
                                garde: 90,
                            },
                            {
                                studentID: 8,
                                studentname: "钱八",
                                garde: 90,
                            },
                            {
                                studentID: 9,
                                studentname: "丁八",
                                garde: 90,
                            },
                            {
                                studentID: 10,
                                studentname: "张妮妮",
                                garde: 90,
                            }
                        ]
                }
            }
        }).mount('#app')
    </script>
</body>

</html>